#ifndef NEWPASSWORDSURE_H
#define NEWPASSWORDSURE_H

#include <QDialog>
#include <QMessageBox>
#include <QSqlDatabase>
#include <QSqlQuery>
#include <QSqlError>

namespace Ui {
class newPasswordSure;
}

class newPasswordSure : public QDialog
{
    Q_OBJECT

public:
    explicit newPasswordSure(const QString &originPassword, QWidget *parent = nullptr);
    ~newPasswordSure();

    QString getConfirmPassword() const;         //获取密码


private slots:
    void on_newAgainEPushButton_clicked();

private:
    Ui::newPasswordSure *ui;

    //获取用户输入的密码
    QString originalPassword; // 存储确认后的密码
};

#endif // NEWPASSWORDSURE_H
